package dfbz.homework6;

public class Manager extends Employee {
    public Manager() {
    }

    public Manager(int id, String name, double salary) {
        super(id, name, salary);
    }

    public void eat() {
        System.out.println("工号为:"+super.getId()+","+super.getName()+"工资为："+super.getSalary()+"的经理在吃鱼");
    }

    @Override
    public void work() {
        System.out.println("工号为:"+super.getId()+","+super.getName()+"工资为："+super.getSalary()+"的经理在管理其他人");
    }
}
